msg logo

كيف ترسل رسالة واتساب باستخدام ال api

أرسل رسالة واتساب بسهولة باستخدام ال api إبدأ خلال دقائق

اختر لغة البرمجة المفضلة لديك لمشاهدة المثال الكامل مع شرح مفصل وخطوات التشغيل

const response = await fetch("https://api.sendmsg.dev/message/batch", { method: "POST", body: JSON.stringify({ to: ["+1234567890", "+0987654321"], message: "Hello from MSG!", // token: "YOUR_API_TOKEN" // Optional, gives full access }) }); const result = await response.json();
تفاصيل